home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
hsrc_117.zip
/
MAKEMGID.C
< prev
next >
Wrap
Text File
|
1990-11-27
|
177b
|
13 lines
#include <time.h>
long make_msgid (void) {
time_t t;
static unsigned int counter=0;
(void)time(&t);
t = (t<<4) | (counter++ & 15);
return t;
}